AMem\Avatar D

Total Complexity 138
Dependencies 6
Dependents 0
Total lines 898
Lines of code 637
Logical lines of code 365
Comment lines 67
Methods 34
Properties 13

Methods 34

Method Rating Maintainability Complexity Lines of code
create_crop()
C
28
24 135
rest_api_upload_callback()
B
32 13 118
get_avatar()
A
46 12 35
save_avatar_upload()
A
46 9 38
get_user_id()
A
57 8 17
make_subsizes()
S
51 7 27
extension_list_to_mime_array()
S
53 7 23
save_default_avatar()
S
55 6 20
get_closest_number()
S
63 4 11
get_avatar_data()
S
64 4 9
filter_get_avatar_url()
S
64 4 9
rest_api_check_nonce()
S
59 3 15
avatar_sizes()
S
59 3 14
__construct()
S
53 2 21
debug()
S
72 3 5
get_closest_larger()
S
67 3 8
acf_upload_prefilter()
S
66 3 9
rest_api_init()
S
55 1 23
initialize_settings()
S
58 1 16
log_error()
S
68 2 7
cleanup()
S
75 2 5
get_temp_path()
S
67 2 8
get_avatar_dir()
S
67 2 8
logger()
S
70 2 6
rest_api_cancel_crop_callback()
S
62 2 10
temp_upload_dir()
S
81 1 3
upload_dir()
S
67 1 8
crop()
S
77 1 3
jpeg_quality()
S
79 1 3
rest_api_crop_callback()
S
71 1 6
detect_avatar_upload()
S
75 1 4
include_field_types()
S
80 1 3
get_default_avatar()
S
79 1 3
ajax_avatar_crop()
S
67 1 7